package com.kingdee.eas.zssh.basedata;

import com.kingdee.bos.dao.AbstractObjectCollection;
import com.kingdee.bos.dao.IObjectPK;

public class MonthCollection extends AbstractObjectCollection 
{
    public MonthCollection()
    {
        super(MonthInfo.class);
    }
    public boolean add(MonthInfo item)
    {
        return addObject(item);
    }
    public boolean addCollection(MonthCollection item)
    {
        return addObjectCollection(item);
    }
    public boolean remove(MonthInfo item)
    {
        return removeObject(item);
    }
    public MonthInfo get(int index)
    {
        return(MonthInfo)getObject(index);
    }
    public MonthInfo get(Object key)
    {
        return(MonthInfo)getObject(key);
    }
    public void set(int index, MonthInfo item)
    {
        setObject(index, item);
    }
    public boolean contains(MonthInfo item)
    {
        return containsObject(item);
    }
    public boolean contains(Object key)
    {
        return containsKey(key);
    }
    public int indexOf(MonthInfo item)
    {
        return super.indexOf(item);
    }
}